/*********************************************************************
	Rhapsody	: 7.5.2
	Login		: dan
	Component	: TPkg_RobotController_Comp
	Configuration 	: DefaultConfig
	Model Element	: DefaultConfig
//!	Generated Date	: Sat, 18, Dec 2010 
	File Path	: TPkg_RobotController_Comp/DefaultConfig/MainTPkg_RobotController_Comp.java
*********************************************************************/


//## auto_generated
import TPkg_RobotController.*;
//## auto_generated
import com.ibm.rational.rhapsody.oxf.*;
//## auto_generated
import com.ibm.rational.rhapsody.animcom.*;

//----------------------------------------------------------------------------
// MainTPkg_RobotController_Comp.java                                                                  
//----------------------------------------------------------------------------


//## ignore 
public class MainTPkg_RobotController_Comp {
    
    protected static TCon_RobotController p_TCon_RobotController = null;
    //#[ ignore
    // link with events in order to register them in the animation browser
    static {
      // Setting Animation Default Port 
      AnimTcpIpConnection.setDefaultPort(6423);
      // Registering Events 
      try {
        
            Class.forName("RobotPkg.evChangeDirection");
            Class.forName("RobotPkg.evForward");
            Class.forName("RobotPkg.evKeyPress");
            Class.forName("RobotPkg.evLine");
            Class.forName("RobotPkg.evMove");
            Class.forName("RobotPkg.evOnOff");
            Class.forName("RobotPkg.evProcess");
            Class.forName("RobotPkg.lineNotSeen");
            Class.forName("RobotPkg.lineSeen");
    
        // Registering Static Classes 
        
      }
      catch(Exception e) { 
         System.err.println(e.toString());
         e.printStackTrace(System.err);
      }
    }
    //#]
    
    
    //## configuration TPkg_RobotController_Comp::DefaultConfig 
    public static void main(String[] args) {
        RiJOXF.Init(null, 0, 0, true, args);
        MainTPkg_RobotController_Comp initializer_TPkg_RobotController_Comp = new MainTPkg_RobotController_Comp();
        p_TCon_RobotController = new TCon_RobotController(RiJMainThread.instance());
        p_TCon_RobotController.startBehavior();
        //#[ configuration TPkg_RobotController_Comp::DefaultConfig 
        //#]
        RiJOXF.Start();
        p_TCon_RobotController=null;
    }
    
}
/*********************************************************************
	File Path	: TPkg_RobotController_Comp/DefaultConfig/MainTPkg_RobotController_Comp.java
*********************************************************************/

